<?php /* Smarty version Smarty-3.1.13, created on 2013-08-02 02:43:43
         compiled from "/var/www/html/insite/templates/en/testimonials/list.tpl" */ ?>
<?php /*%%SmartyHeaderCode:108726577951faac5f120403-78184104%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1929c7fa237f3c75f7b14abeaf40a911f1b440f7' => 
    array (
      0 => '/var/www/html/insite/templates/en/testimonials/list.tpl',
      1 => 1375382370,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '108726577951faac5f120403-78184104',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'msg' => 0,
    'link_add_testimonials' => 0,
    '_ADD_NEWS' => 0,
    'link_add_cat' => 0,
    '_ADD_CATEGORY' => 0,
    '_CATEGORY' => 0,
    'link_list_testimonials' => 0,
    '_SELECT_USER_TYPE' => 0,
    'cats' => 0,
    'cat_id' => 0,
    '_TITLE' => 0,
    '_DATE' => 0,
    '_HITS' => 0,
    '_ORDER' => 0,
    'allow_testimonials' => 0,
    'php5WebPath' => 0,
    '_PUBLISHED' => 0,
    'link_save_order' => 0,
    'rows' => 0,
    'row' => 0,
    'link_edit_testimonials' => 0,
    '_EDIT' => 0,
    'link_del_testimonials' => 0,
    '_MSS_DEL_NEWS' => 0,
    '_DELETE' => 0,
    'paging' => 0,
    '_NEWS' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_51faac5f38cfe2_55788657',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51faac5f38cfe2_55788657')) {function content_51faac5f38cfe2_55788657($_smarty_tpl) {?><?php if (!is_callable('smarty_function_html_options')) include '/var/www/html/includes/smarty.libs/plugins/function.html_options.php';
?><!-- Content Area -->
<div id="content"> 
  
  <!-- Component Title -->
  <div class="pagetitle icon-48-module">
    <h2>Manager: Testimonials</h2>
  </div>
  
  <!-- System Messages -->
  
  <div id="system-message-container"> <?php if (isset($_smarty_tpl->tpl_vars['msg']->value)){?>
    <dl id="system-message">
      <dt class="message">Message</dt>
      <dd class="message message">
        <ul>
          <li><?php echo $_smarty_tpl->tpl_vars['msg']->value;?>
</li>
        </ul>
      </dd>
    </dl>
    <?php }?> </div>
  
  <!-- Sub Menu Navigation -->
  <div class="subheader">
    <h3 class="element-invisible">Sub Menu</h3>
    <div id="no-submenu"></div>
  </div>
  
  <!-- Toolbar Icon Buttons -->
  <div class="actionbar-box">
    <div class="module">
      <h3>Toolbar</h3>
      <div class="actionbar-list" id="actionbar">
        <ul>
          <li id="actionbar-popup-new">
          <a class="modal" href="<?php echo $_smarty_tpl->tpl_vars['link_add_testimonials']->value;?>
" >
          <span class="icon-32-new">
          </span>
          <?php echo $_smarty_tpl->tpl_vars['_ADD_NEWS']->value;?>

          </a>
          </li>
          <li id="actionbar-trash"> <a href="<?php echo $_smarty_tpl->tpl_vars['link_add_cat']->value;?>
" class="actionbar" > <span class="icon-32-new"> </span> <?php echo $_smarty_tpl->tpl_vars['_ADD_CATEGORY']->value;?>
 </a> </li>
          <li class="divider"> </li>
        </ul>
        <div class="clr"></div>
      </div>
    </div>
    <div class="clr"></div>
  </div>
  <!-- Beginning of Actual Content -->
  <div id="element-box">

     <div align="right" style="margin-bottom:5px;"><strong><?php echo $_smarty_tpl->tpl_vars['_CATEGORY']->value;?>
:</strong> 
     <select name="cat_id" id="cat_id" onchange="redirectToUrl('<?php echo $_smarty_tpl->tpl_vars['link_list_testimonials']->value;?>
'+this.value)">           
     <option value="0"><?php echo $_smarty_tpl->tpl_vars['_SELECT_USER_TYPE']->value;?>
</option>
      <?php echo smarty_function_html_options(array('options'=>$_smarty_tpl->tpl_vars['cats']->value,'selected'=>$_smarty_tpl->tpl_vars['cat_id']->value),$_smarty_tpl);?>

     </select></div>
    <table   class="adminlist">
    <thead>    
          <tr>
            <th width="30" align="center" class="row_top_title">#ID</th>
            <th width="40%" class="row_top_title"><?php echo $_smarty_tpl->tpl_vars['_TITLE']->value;?>
</th>
            <th  align="left" class="row_top_title"><?php echo $_smarty_tpl->tpl_vars['_CATEGORY']->value;?>
</th>
            
            <th  align="center" class="row_top_title"><?php echo $_smarty_tpl->tpl_vars['_DATE']->value;?>
</th>
            <th  align="center" class="row_top_title"><?php echo $_smarty_tpl->tpl_vars['_HITS']->value;?>
</th>           
            <th  align="center" class="row_top_title"><?php echo $_smarty_tpl->tpl_vars['_ORDER']->value;?>
 
            <?php if ($_smarty_tpl->tpl_vars['allow_testimonials']->value){?>
            &nbsp;&nbsp;&nbsp;<a href="javascript:;" id="btn_order" onclick="document.frmOrder.submit();"><img src="<?php echo $_smarty_tpl->tpl_vars['php5WebPath']->value;?>
/images/save.png" width="16" height="16" border="0" align="absmiddle" /></a>
            <?php }?>
            </th>
             <th width="60" align="center" class="row_top_title"><?php echo $_smarty_tpl->tpl_vars['_PUBLISHED']->value;?>
</th>
            <?php if ($_smarty_tpl->tpl_vars['allow_testimonials']->value){?>
            <th width="60" align="center" class="row_top_title">Action</th>
            <?php }?>
          </tr>
          </thead>
      <form action="<?php echo $_smarty_tpl->tpl_vars['link_save_order']->value;?>
" method="post" name="frmOrder">
          <?php  $_smarty_tpl->tpl_vars['row'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['row']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['rows']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['row']->key => $_smarty_tpl->tpl_vars['row']->value){
$_smarty_tpl->tpl_vars['row']->_loop = true;
?>
          <tr class="row1">
            <td width="30" height="25" align="center"  class="center"><?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
</td>
            <td height="25"  class="center">           
            <a href="#"><?php echo $_smarty_tpl->tpl_vars['row']->value->title;?>
</a>            
            <?php if ($_smarty_tpl->tpl_vars['row']->value->hot_news==1){?><img src="<?php echo $_smarty_tpl->tpl_vars['php5WebPath']->value;?>
/images/hot.gif" /><?php }?>
            </td>
            <td  align="left"  class="center"><?php echo $_smarty_tpl->tpl_vars['row']->value->name;?>
</td>
            
            <td  class="center"><?php echo $_smarty_tpl->tpl_vars['row']->value->post_date;?>
</td>
            <td   class="center"><?php echo $_smarty_tpl->tpl_vars['row']->value->views;?>
</td>            
            <td   class="center">
              <input name="ordering[<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
]" type="text" style="width:20px; font-size:11px; text-align:center;" onkeypress="return isNumberKey(event)" value="<?php echo $_smarty_tpl->tpl_vars['row']->value->ordering;?>
" maxlength="3" /></td>
            <td align="center"  class="center">
            <?php if ($_smarty_tpl->tpl_vars['row']->value->publish==1){?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['php5WebPath']->value;?>
/images/published.gif" />
            <?php }else{ ?>
            <img src="<?php echo $_smarty_tpl->tpl_vars['php5WebPath']->value;?>
/images/unpublished.gif" />
            <?php }?>
            </td>
             <?php if ($_smarty_tpl->tpl_vars['allow_testimonials']->value){?>
            <td class="center"><a href="<?php echo $_smarty_tpl->tpl_vars['link_edit_testimonials']->value;?>
<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['_EDIT']->value;?>
</a><br />              <a href="javascript:;" onclick="delItem('<?php echo $_smarty_tpl->tpl_vars['link_del_testimonials']->value;?>
<?php echo $_smarty_tpl->tpl_vars['row']->value->id;?>
', '<?php echo $_smarty_tpl->tpl_vars['_MSS_DEL_NEWS']->value;?>
')"><?php echo $_smarty_tpl->tpl_vars['_DELETE']->value;?>
</a></td>
            <?php }?>
          </tr>
          <?php }
if (!$_smarty_tpl->tpl_vars['row']->_loop) {
?>
          <tr>
            <td height="30" colspan="9" align="center">No testimonials.</td>
          </tr>
          <?php } ?>
          </form>
           <tr>
      	<td colspan="9" align="center" class="row_bottom"><?php echo $_smarty_tpl->tpl_vars['paging']->value;?>
</td>
       </tr>    
        </table>
    
    <div class="clr"></div>
  </div>
  <!-- end of element-box -->
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
  

<div style="padding:10px;">
    <div class="header"><span class="pathway">HOME &gt; </span> <?php echo $_smarty_tpl->tpl_vars['_NEWS']->value;?>
</div>           
     <div class="outer-form"> 
 
  </div>
</div>        

<?php }} ?>